package com.example.demo.day0224;
public class Test {
    public static void main(String[] args) {
        BMW b3=new BMW3Factory().product();
        b3.showInfo();
        BMW b5=new BMW5Factory().product();
        b5.showInfo();
        BMW b7=new BMW7Factory().product();//体现其多态
        b7.showInfo();

        Parcel.B b=new Parcel.B();



    }
}
